package org.smile.db.criteria;


public class SetCriterion implements Criterion{

    protected String fieldName;

    protected Object value;

    public SetCriterion(String fieldName,Object value){
        this.fieldName= fieldName;
        this.value=value;
    }

    @Override
    public void accept(CriterionVisitor visitor) {
        visitor.visit(this);
    }

	public String getFieldName() {
		return fieldName;
	}


	public Object getValue() {
		return value;
	}
    
}
